import Vue from 'vue'
import VueRouter from 'vue-router'//使用路由时，要引入vue-router

const Home = () => import( '../pages/home/Home');
Vue.use(VueRouter)

export default new VueRouter({
    routes: [
        {
            path: '/',
            component: Home
        },
    ]
})